
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="row">

        <div class="form-group col-md-4 col-xs-12">
            <label class="control-label col-xs-12 col-sm-2">{:__('类型')}:</label>
            <div class="col-xs-12 col-sm-8">
                <select id="c-type" class="form-control selectpicker" name="row[type]">
                    {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="0" }selected{/in}>{$vo}</option>
                    {/foreach}
                </select>
                <span class="text-red "></span>
            </div>
        </div>

        <div class="col-md-4 col-xs-12 form-group">
            <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('标题')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-title"  type="text" class="form-control" data-rule="required" name="row[title]" value=""/>
            </div>
        </div>
        <div class="col-md-4 col-xs-12 form-group">
            <label for="c-service_client" class="control-label col-xs-12 col-sm-2">{:__('服务对象')}:</label>
            <div class="col-xs-12 col-sm-8">
				<input id="c-service_client" data-source='{:config_to_source($service_client)}' data-field="value" data-primary-key="key" data-order-by="key" data-multiple="true" class="form-control selectpage" name="row[service_client]" type="text" value=""   >
            </div>
        </div>




        <div class="col-md-4 col-xs-12 form-group">
            <label for="c-content" class="control-label col-xs-12 col-sm-2">{:__('内容')}:</label>
            <div class="col-xs-12 col-sm-8">
                <textarea id="c-content" class="form-control editor" data-rule="required" name="row[content]"></textarea>

            </div>
        </div>

        <div class="col-md-4 col-xs-12 form-group">
            <label for="c-notice" class="control-label col-xs-12 col-sm-2">{:__('通知')}:</label>
            <div class="col-xs-12 col-sm-8">

                <div class="checkbox checkbox-inline" style="padding-left: 0px;">

                    <label for="c-notice">
                        <input id="c-notice"  name="row[notice]" type="checkbox" value="1" > {:__("通知项目人员")}
                    </label>
                </div>
            </div>
        </div>

        <div class="col-md-4 col-xs-12 form-group admin-ids-div " style="display: none">
            <label for="c-admin_ids" class="control-label col-xs-12 col-sm-2">{:__('通知人员')}:</label>
            <div class="col-xs-12 col-sm-8">

                <input id="c-admin_ids"  data-source="workteam/common/selectpage/model/admin/type/all" data-field="nickname"
                       class="form-control selectpage" data-multiple="true" name="row[admin_ids]" type="text" value="{$row.admin_ids}"   >
                    <span class="text-red"> * {:__("需先配置通知，如已经配置请忽略该提示")}</span>
            </div>
        </div>


    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>


